package com.transaction.seataorder.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.experimental.Accessors;
import org.omg.CORBA.IDLType;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lwd
 * @since 2022-12-30
 */
@TableName("tbl_user")
@Data
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Integer id;

    private String name;

    private String role;

    private String sex;

    @Version
    private Integer version;

    @TableLogic
    private Integer status;

}
